//
//  MBImageGalleryView.h
//  MobellCloud_ios
//
//  Created by cherry pu on 2018/1/22.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MBImageGalleryViewDataSource <NSObject>

- (NSArray *)sourceImageItemArrayForGallery;

@end


@interface MBImageGalleryView : UIView

@property (nonatomic,strong) NSArray * imageItemArray;
//@property (nonatomic,strong) NSArray * messageArray;
@property (nonatomic,assign) NSInteger currentIndex;

- (instancetype)initWithEdgeOffset:(CGFloat)edgeOffset;

- (void)setImagePositionIndex:(NSInteger)index;


@property (nonatomic,weak) id<MBImageGalleryViewDataSource> dataSource;
@end
